Collection content classifier

ABSTRACT

Collection content classifiers classify computer files and other collection content in accordance with predetermined classification specifications. In operation, collection content classifiers dynamically discover collection content members, assign data types to content members, associate symbolic actions with content members, determine processing dependencies among content members, and return organized classification information to calling programs for subsequent use in processing content members. Collection content classifiers thereby improve the productivity of human knowledge workers by enabling the construction of smart, collection-aware application programs that can perform more extensive, more complex, and more automated collection processing operations than were previously possible.

CROSS REFERENCES TO RELATED APPLICATIONS

[0001] The present invention uses inventions from the following patent applications, that are filed contemporaneously herewith, and which are incorporated herein by reference:

[0002] Collection Information Manager; Kevin Jameson.

FIELD OF THE INVENTION

[0003] This invention relates to automated software systems for processing collections of computer files in arbitrary ways, thereby improving the productivity of software developers, web media developers, and other humans and computer systems that work with collections of computer files.

BACKGROUND OF THE INVENTION

[0004] The general problem addressed by this invention is the low productivity of human knowledge workers who use labor-intensive manual processes to work with collections of computer files. One promising solution strategy for this software productivity problem is to build automated systems to replace manual human effort.

[0005] Unfortunately, replacing arbitrary manual processes performed on arbitrary computer files with automated systems is a difficult thing to do. Many challenging subproblems must be solved before competent automated systems can be constructed. As a consequence, the general software productivity problem has not been solved yet, despite large industry investments of time and money over several decades.

[0006] The present invention provides one piece of the overall functionality required to implement automated systems for processing collections of computer files. In particular, the current invention has a practical application in the technological arts because it provides both humans and software programs with useful information about the contents of collections that require processing.

[0007] Problems to be Solved

[0008] The Collection Content Classification Problem is one important problem to solve to enable the construction of automated collection processing systems. It is the problem of how to determine collection content members, content types, content processing actions, and content processing interdependencies. Solving the Collection Content Classification problem is important because a solution would enable application programs to process collections of computer files in more powerful, more automated ways than were previously possible.

[0009] Some interesting aspects of the general Collection Content Classification problem are these: arbitrary collection types may be involved, containing arbitrary internal structures and numbers of internal products, and arbitrary product types. Arbitrary numbers of files and file types may be involved, requiring arbitrary content processing actions, platform dependent processing actions, and various administrative preferences for all of the above. The general Collection Classification Problem is not a simple problem.

[0010] The Collection Multiple Product Problem is another important problem. It is the problem of how to represent multiple collection output products within one collection. This problem is important because it is both intuitive and practical to create several output products from one set of related collection content files. Without a solution to the multiple product problem, a separate collection instance would be required for each desired product, thereby increasing software complexity and maintenance costs.

[0011] Some interesting aspects of the multiple product problem are these: an arbitrary number of collection products may be involved, each product may have an arbitrary product type and product content, and an arbitrary set of required product-level, platform-dependent processing actions.

[0012] The Collection Content Membership Problem is another important problem. It is the problem of how to dynamically determine what directories and files are part of a collection. This problem is important because manually enumerating collection content files is a tedious, error prone, and non-scalable method.

[0013] Some interesting aspects of the Collection Content Membership problem are these: collection content files can belong to separate products on different platforms, content files can be shared among multiple products and platforms, content files can be ignored for particular products and platforms, and content files can be stored outside the host collection subtree for various products and platforms.

[0014] The Collection Special Fileset Problem is another important problem. It is the problem of how to identify special content files and then process them in special ways. For example, the normal way to compile Fortran source code files is with code optimization enabled, but some Fortran source files are so big that they cannot be optimized. Therefore a mechanism is needed to process a few large Fortran files out of many in a special way, with code optimization turned off. Without a solution to the Collection Special Fileset problem, automated collection processing systems cannot process special content file cases. This is a significant limitation in real-world industrial software environments, which invariably have special processing situations.

[0015] Some interesting aspects of the Collection Special Fileset problem are these: many special files may be involved, although typically only a few files out of many are involved, multiple sets of special files may be involved, and special processes for the special files may range from simple to complex, or similar to very different from the norm.

[0016] The Collection Content Type Assignment problem is another important problem. It is the problem of how to dynamically determine a content type for each collection content file. A solution to this problem is important because content types are the primary means for determining automated processing actions for processing content files. Without a proper content type assignment, automated systems cannot easily make decisions on how to process content files.

[0017] Some interesting aspects of the Collection Content Type Assignment problem are these: large numbers of content files may be involved, arbitrary user-defined content types must be supported, type assignment methods must not fail on missing filename suffixes, and type assignment mechanisms must use internal parseable type-marker strings when necessary.

[0018] The Collection Action Assignment problem is another important problem. This is the problem of how to associate collection content files with appropriate automated file processing actions.

[0019] Some interesting aspects of the Collection Action Assignment problem are these: arbitrary processing actions for files, filesets, and products must be supported, processing actions must be chosen in accordance with collection, product, and content types, and processing actions must be sharable, customizable, extensible, and fully user-definable.

[0020] The Collection Content Dependency problem is another important problem. This is the problem of how to determine processing dependencies for collection content members. This problem is important because collection content files must be processed in accordance with interdependencies among content files in order to produce valid collection product results.

[0021] Some interesting aspects of the Collection Content Dependency problem are these: dependencies exist among files, such as source files depending on include files, dependencies exist among products, such as program products depending on the existence of library products for linking purposes, and dependencies must sometimes be calculated for unknown languages, so an extensible mechanism for dependency calculation is required.

[0022] General Shortcomings of the Prior Art

[0023] A professional prior art search for the present invention was performed, but produced no meaningful, relevant works of prior art. Therefore the following discussion is general in nature, and highlights the significant conceptual differences between file-oriented mechanisms in the prior art and the novel collection-oriented mechanisms represented by the present invention.

[0024] Prior art approaches lack support for collections. This is the largest limitation of all because it prevents the use of high-level collection abstractions that can significantly improve productivity.

[0025] Prior art approaches lack collection content listing means to dynamically determine collection content members of each collection product, thereby requiring the use of manually constructed content lists, and increasing software maintenance costs.

[0026] Prior art approaches lack collection content typing means to dynamically determine data types for collection content members, thereby preventing flexible, scalable, and automated processing of content according to data type.

[0027] Prior art approaches lack extensible collection content dependency means to dynamically determine processing dependencies for collection content members, thereby preventing the easy extension of automated dependency calculations to new programming languages.

[0028] Prior art approaches lack product build order means for dynamically determining relative product build order of multiple products within a single collection, thereby preventing the proper construction of multiple collection products.

[0029] As can be seen from the above description, prior art mechanisms in general have several important disadvantages. Notably, general prior art mechanisms do not support collections, symbolic content types, or action assignment based on content types. These are the most important limitations of all.

[0030] In contrast, the present collection command applicator invention has none of these limitations, as the following disclosure will show.

[0031] Specific Shortcomings in Prior Art

[0032] Several examples of prior art approaches that classify sets of related computer files are discussed below. The examples fall into two main categories: makefile generator programs and integrated development environment (IDE) programs. Both types of programs classify a list of source files so that the files can be processed efficiently in an automated manner.

[0033] Prior Art Makefile Generators

[0034] Makefile generator programs generate makefiles for humans who are building software programs. Typically, makefiles contain computer instructions for compiling source code files and linking compiled object files to produce executable files or libraries of object files. In addition, programmers typically include a variety of other useful command sequences in makefiles to increase productivity.

[0035] Examples of popular freeware makefile generators include GNU automake, imake, and mkmf (make makefile). Although each program is useful, each program has several important classification shortcomings.

[0036] GNU automake has no dynamic content discovery mechanism; instead it requires programmers to manually list all files that require processing. Neither does it have a mechanism for sharing classification information, so multiple automake files cannot easily share user-provided information. Finally, it uses an input file that must be manually constructed, and so its classification operations are not fully automated.

[0037] Imake has no dynamic content discovery mechanism; instead it requires programmers to manually list all files that require processing. It also uses an input file that must be manually constructed, so its classification operations are not fully automated.

[0038] Mkmf does have a dynamic content discovery mechanism that dynamically includes all source files in the current directory in the output makefile. However, only the current directory is used to find source files; no other directories are supported. Significantly, all source files in the directory are included, whether they should be included or not. This forces programmers to unnaturally restrict the directory contents to only those file that should be discovered by mkmf. Finally, all files are used to build one product only; files cannot be grouped into multiple products.

[0039] Thus these makefile generators, which are characteristic of the prior art, have significant content classification limitations.

[0040] Prior Art IDEs

[0041] Integrated development environments integrate many software development tools such as editors, compilers, linkers, debuggers, and online documentation into one application program environment. Many IDE programs contain an internal makefile generator to generate makefiles to control the software build process.

[0042] However, integrated development environments do not typically have dynamic content discovery mechanisms. Instead, programmers are required to manually identify interesting files for inclusion in the IDE project file. Therefore IDE classification operations are not fully automated. In addition, IDE programs do not typically provide user-customizable means for assigning particular data types to whole projects, or to files within those projects. Thus IDE programs lack user-definable and sharable classification type definition information.

[0043] As can be seen from the above descriptions, prior art approaches have several important disadvantages. In contrast, the present collection content classifier invention has none of these limitations, as the following disclosure will show.

SUMMARY OF THE INVENTION

[0044] A Collection Content Classifier dynamically discovers and then classifies collection content members, thereby helping application programs to understand and process collections in fully automated ways.

[0045] In operation, a collection content classifier constructs the following information for a collection to be processed: a set of collection products, a proper product build ordering for the collection products, a list of content members for each product, a data type for each content member, a symbolic processing action for each content member, and a list of processing dependencies for each content member. Once constructed, classifier information is organized into data structures and made available to calling programs for subsequent use in processing collections.

[0046] Collection content classifiers provide extensive collection content information to software programs, thereby enabling software programs to more easily process large numbers of collections in fully automated, scalable ways that were not previously possible.

OBJECTS AND ADVANTAGES

[0047] The present collection content classifier invention solves the general prior art limitations described previously. Specifically, the present invention supports collections, dynamically determines collection content, assigns content data types, assigns symbolic content processing actions, and determines content processing dependency relationships.

[0048] The main object of collection content classifier systems is to extensively describe collection contents to application programs that process collections. Importantly, collection content descriptions are calculated in a dynamic manner, thereby promoting the construction of automated collection processing systems. Fully automated collection processing systems can significantly improve human productivity by processing collections of computer files in ways that were not possible before.

[0049] Another object is to dynamically determine collection content members, thereby reducing software maintenance costs by avoiding the use of manually constructed lists of content members for collection products.

[0050] Another object is to dynamically determine and assign collection content data types, thereby reducing software maintenance costs by avoiding the use of manually constructed lists of data types for content members.

[0051] Another object is to dynamically determine processing dependency relationships for collection content members, thereby reducing software maintenance costs by avoiding the use of manually constructed dependency lists.

[0052] Another object is to dynamically classify the content of mobile collections, thereby allowing multiple receiving sites to classify collection content using local site administrative and classification preferences.

[0053] A final object is to provide a generalized, scalable, and automated collection classifier means, thereby enabling the construction of generalized, scalable, automated collection processing systems.

[0054] As can be seen from the objects above, collection content classifiers provide extensive collection content information to application programs that process collections. Classifiers thus improve human productivity by enabling application programs to classify and process collections in scalable, automated ways that were not previously possible.

[0055] Further advantages of the present Collection Content Classifier invention will become apparent from the drawings and disclosure below.

BRIEF DESCRIPTION OF DRAWINGS

[0056]FIG. 1 shows a sample prior art filesystem folder in a typical personal computer filesystem.

[0057]FIG. 2 shows how a portion of the prior art folder in FIG. 1 has been converted into a collection 100 by the addition of a collection specifier file 102 named “cspec” FIG. 2 Line 5.

[0058]FIG. 3 shows an example physical representation of a collection specifier 102, implemented as a simple text file such as would be used on a typical personal computer filesystem.

[0059]FIG. 4 shows four major information groupings for collections, including collection type definition 101, collection specifier 102, collection content 103, and collection 100.

[0060]FIG. 5 shows a more detailed view of the information groupings in FIG. 4, illustrating several particular kinds of per-collection-instance and per-collection-type information.

[0061]FIG. 6 shows a logical diagram of how a Collection Information Manager Means 111 would act as an interface between an application program means 110 and a collection information means 107, including collection information sources 101-103.

[0062]FIG. 7 shows a physical software embodiment of how an Application Program Means 110 would use a Collection Information Manager Means 111 to obtain collection information from various collection information API means 112-114 connected to various collection information server means 115-117.

[0063]FIG. 8 shows an example software collection datastructure that relates collection specifier and collection content information for a single collection instance.

[0064]FIG. 9 shows an example collection type definition datastructure, such as might be used by software programs that process collections.

[0065]FIG. 10 shows a more detailed example of the kinds of information found in collection type definitions.

[0066]FIG. 11 shows a simplified architecture for a classifier-enabled application program.

[0067]FIG. 12 shows a simplified algorithm for a classifier-enabled application program.

[0068]FIG. 13 shows a simplified architecture for a Collection Content Classifier Manager Means 130.

[0069]FIG. 14 shows a simplified algorithm for a Collection Content Classifier Manager Means 130.

[0070]FIG. 15 shows a simplified “coll-class-content” data structure produced by a Collection Content Classifier Manager Means 130.

[0071]FIG. 16 shows a four-level type definition hierarchy for storing collection type definition information.

[0072]FIG. 17 shows a simplified architecture for a Get Collection Membership Information Manager module 140.

[0073]FIG. 18 shows a simplified algorithm for a Get Collection Membership Information Manager module 140.

[0074]FIG. 19 shows a simplified “prod-class-content” data structure produced by a Get Collection Membership Information Manager module 140.

[0075]FIG. 20 shows a simplified “content-class-entry” data structure produced by a Get Collection Membership Information Manager module 140.

[0076]FIG. 21 shows an example collection type index table and collection type definition file.

[0077]FIG. 22 shows an example product type index table and product type definition file corresponding to the “cf-coll-program” collection type of FIG. 21.

[0078]FIG. 23 shows an example source directory list definition file corresponding to the “cf-program” product type of FIG. 22.

[0079]FIG. 24 shows an example library directory list definition file corresponding to the “cf-program” product type of FIG. 22.

[0080]FIG. 25 shows an example collection tree structure with nested source directories and library directories.

[0081]FIG. 26 shows lists of selected content members for the collection of FIG. 25, organized by computing platform.

[0082]FIG. 27 shows a collection specifier containing special product directives for an external source directory and source file.

[0083]FIG. 28 shows a simplified architecture for an Assign Collection Content Types Manager module 150.

[0084]FIG. 29 shows a simplified algorithm for an Assign Collection Content Types Manager module 150.

[0085]FIG. 30 shows an example file identification table for identifying content types of information stored within collection source files.

[0086]FIG. 31 shows a collection specifier containing an example fileset specification.

[0087]FIG. 32 shows a simplified architecture for an Assign Collection Actions Manager module 160.

[0088]FIG. 33 shows a simplified algorithm for an Assign Collection Actions Manager module 160.

[0089]FIG. 34 shows an example content type index table and content type definition file corresponding to the “cf-coll-program” product type of FIG. 22.

[0090]FIG. 35 shows an example action type index table and action type definition file corresponding to the “content-c” content type of FIG. 34.

[0091]FIG. 36 shows a simplified architecture for a Calculate Collection Content Dependencies Manager module 170.

[0092]FIG. 37 shows a simplified algorithm for a Calculate Collection Content Dependencies Manager module 170.

[0093]FIG. 38 shows an example dependencies output file produced by an External Parser Means module 174.

[0094]FIG. 39 shows an example collection tree structure to illustrate a complete classification example.

[0095]FIG. 40 shows an example multi-product collection specifier file for the collection of FIG. 39.

[0096]FIG. 41 shows part 1 of an example classification output for the collection of FIG. 39.

[0097]FIG. 42 shows part 2 of an example classification output for the collection of FIG. 39.

LIST OF DRAWING REFERENCE NUMBERS

[0098]100 A collection formed from a prior art folder

[0099]101 Collection type definition information

[0100]102 Collection specifier information

[0101]103 Collection content information

[0102]104 Per-collection collection processing information

[0103]105 Per-collection collection type indicator

[0104]106 Per-collection content link specifiers

[0105]107 Collection information means

[0106]110 Application program means

[0107]111 Collection information manager means

[0108]112 Collection type definition API means

[0109]113 Collection specifier API means

[0110]114 Collection content API means

[0111]115 Collection type definition server means

[0112]116 Collection specifier server means

[0113]117 Collection content server means

[0114]120 Application Program

[0115]121 Get Runtime Information module

[0116]122 Collection content classifier means

[0117]123 Application collection processing manager module

[0118]125 Collection information data source

[0119]130 Collection content classifier manager means

[0120]131 Get classifier runtime information

[0121]132 Output content classification information

[0122]140 Get collection membership information manager

[0123]141 Get collection information

[0124]142 Get collection product directory type definitions

[0125]143 Get collection type definition information

[0126]144 Get product type definition information

[0127]145 Get source directory definition information

[0128]146 Get product content list

[0129]147 Get platform source directory lists

[0130]148 Search source directories

[0131]150 Assign collection content types manager

[0132]151 Get file identification definition information

[0133]152 Identify collection content types

[0134]153 Record special fileset types module

[0135]160 Assign collection actions manager

[0136]161 Get content type definition information

[0137]162 Get action type name information

[0138]163 Identify all action matches

[0139]164 Record all action matches

[0140]170 Calculate collection content dependencies manager

[0141]171 Get content parser name

[0142]172 Parse content for dependencies

[0143]173 Internal parser means

[0144]174 External parser means

[0145]175 Record dependency information

DETAILED DESCRIPTION

[0146] Overview of Collections

[0147] This section introduces collections and some related terminology.

[0148] Collections are sets of computer files that can be manipulated as a set, rather than as individual files. Collection are comprised of three major parts: (1) a collection specifier that contains information about a collection instance, (2) a collection type definition that contains information about how to process all collections of a particular type, and (3) optional collection content in the form of arbitrary computer files that belong to a collection.

[0149] Collection specifiers contain information about a collection instance. For example, collection specifiers may define such things as the collection type, a text summary description of the collection, collection content members, derivable output products, collection processing information such as process parallelism limits, special collection processing steps, and program option overrides for programs that manipulate collections. Collection specifiers are typically implemented as simple key-value pairs in text files or database tables.

[0150] Collection type definitions are user-defined sets of attributes that can be shared among multiple collections. In practice, collection specifiers contain collection type indicators that reference detailed collection type definitions that are externally stored and shared among all collections of a particular type. Collection type definitions typically define such things as collection types, product types, file types, action types, administrative policy preferences, and other information that is useful to application programs for understanding and processing collections.

[0151] Collection content is the set of all files and directories that are members of the collection. By convention, all files and directories recursively located within an identified set of subtrees are usually considered to be collection members. In addition, collection specifiers can contain collection content directives that add further files to the collection membership. Collection content is also called collection membership.

[0152] Collection is a term that refers to the union of a collection specifier and a set of collection content.

[0153] Collection information is a term that refers to the union of collection specifier information, collection type definition information, and collection content information.

[0154] Collection membership information describes collection content.

[0155] Collection information managers are software modules that obtain and organize collection information from collection information stores into information-rich collection data structures that are used by application programs.

[0156] Collection Physical Representations—Main Embodiment

[0157] FIGS. 1-3 show the physical form of a simple collection, as would be seen on a personal computer filesystem.

[0158]FIG. 1 shows an example prior art filesystem folder from a typical personal computer filesystem. The files and directories shown in this drawing do not implement a collection 100, because no collection specifier 102, FIG. 2 Line 5 exists to associate a collection type definition 101 with collection content information 103.

[0159]FIG. 2 shows the prior art folder of FIG. 1, but with a portion of the folder converted into a collection 100 by the addition of a collection specifier file FIG. 2 Line 5 named “cspec”. In this example, the collection contents 103 of collection 100 are defined by two implicit policies of a preferred implementation.

[0160] First is a policy to specify that the root directory of a collection is a directory that contains a collection specifier file. In this example, the root directory of a collection 100 is a directory named “c-myhomepage” FIG. 2 Line 4, which in turn contains a collection specifier file 102 named “cspec” FIG. 2 Line 5.

[0161] Second is a policy to specify that all files and directories in and below the root directory of a collection are part of the collection content. Therefore directory “s” FIG. 2 Line 6, file “homepage.html” FIG. 2 Line 7, and file “myphoto.jpg” FIG. 2 Line 8 are part of collection content 103 for said collection 100.

[0162]FIG. 3 shows an example physical representation of a collection specifier file 102, FIG. 2 Line 5, such as would be used on a typical personal computer filesystem.

[0163] Collection Information Types

[0164] FIGS. 4-5 show three main kinds of information that are managed by collections.

[0165]FIG. 4 shows a high-level logical structure of three types of information managed by collections: collection processing information 101, collection specifier information 102, and collection content information 103. A logical collection 100 is comprised of a collection specifier 102 and collection content 103 together. This diagram best illustrates the logical collection information relationships that exist within a preferred filesystem implementation of collections.

[0166]FIG. 5 shows a more detailed logical structure of the same three types of information shown in FIG. 4. Collection type definition information FIG. 4101 has been labeled as per-type information in FIG. 5103 because there is only one instance of collection type information 101 per collection type. Collection content information FIG. 4103 has been labeled as per-instance information in FIG. 5103 because there is only one instance of collection content information per collection instance. Collection specifier information 102 has been partitioned into collection instance processing information 104, collection-type link information 105, and collection content link information 106. FIG. 5 is intended to show several important types of information 104-106 that are contained within collection specifiers 102.

[0167] Suppose that an application program means 110 knows (a) how to obtain collection processing information 101, (b) how to obtain collection content information 103, and (c) how to relate the two with per-collection-instance information 102. It follows that application program means 110 would have sufficient knowledge to use collection processing information 101 to process said collection content 103 in useful ways.

[0168] Collection specifiers 102 are useful because they enable all per-instance, non-collection-content information to be stored in one physical location. Collection content 103 is not included in collection specifiers because collection content 103 is often large and dispersed among many files.

[0169] All per-collection-instance information, including both collection specifier 102 and collection content 103, can be grouped into a single logical collection 100 for illustrative purposes.

[0170] Collection Application Architectures

[0171] FIGS. 6-7 show example collection-enabled application program architectures.

[0172]FIG. 6 shows how a collection information manager means 111 acts as an interface between an application program means 110 and collection information means 107 that includes collection information sources 101-103. Collectively, collection information sources 101-103 are called a collection information means 107. A collection information manager means 111 represents the union of all communication mechanisms used directly or indirectly by an application program means 110 to interact with collection information sources 101-103.

[0173]FIG. 7 shows a physical software embodiment of how an application program means 110 could use a collection information manager means 111 to obtain collection information from various collection information API (Application Programming Interface) means 112-114 connected to various collection information server means 115-117.

[0174] Collection type definition API means 112 provides access to collection type information available from collection type definition server means 115. Collection specifier API means 113 provides access to collection specifier information available from collection specifier server means 116. Collection content API means 114 provides access to collection content available from collection content server means 117.

[0175] API means 112-114, although shown here as separate software components for conceptual clarity, may optionally be implemented wholly or in part within a collection information manager means 111, or within said server means 115-117, without loss of functionality.

[0176] API means 112-114 may be implemented by any functional communication mechanism known to the art, including but not limited to command line program invocations, subroutine calls, interrupts, network protocols, or file passing techniques.

[0177] Server means 115-117 may be implemented by any functional server mechanism known to the art, including but not limited to database servers, local or network file servers, HTTP web servers, FTP servers, NFS servers, or servers that use other communication protocols such as TCP/IP, etc.

[0178] Server means 115-117 may use data storage means that may be implemented by any functional storage mechanism known to the art, including but not limited to magnetic or optical disk storage, digital memory such as RAM or flash memory, network storage devices, or other computer memory devices.

[0179] Collection information manager means 111, API means 112-114, and server means 115-117 may each or all optionally reside on a separate computer to form a distributed implementation. Alternatively, if a distributed implementation is not desired, all components may be implemented on the same computer.

[0180] Collection Data Structures

[0181] FIGS. 8-10 show several major collection data structures.

[0182]FIG. 8 shows an example collection datastructure that contains collection specifier and collection content information for a collection instance. Application programs could use such a datastructure to manage collection information for a collection that is being processed.

[0183] In particular, preferred implementations would use collection datastructures to manage collection information for collections being processed. The specific information content of a collection datastructure is determined by implementation policy. However, a collection specifier typically contains at least a collection type indicator FIG. 8 Line 4 to link a collection instance to a collection type definition.

[0184]FIG. 9 shows an example collection type definition datastructure that could be used by application programs to process collections. Specific information content of a collection type definition datastructure is determined by implementation policy. However, collection type definitions typically contain information such as shown in FIGS. 9-10.

[0185]FIG. 10 shows example information content for a collection type definition datastructure such as shown in FIG. 9. FIG. 10 shows information concerning internal collection directory structures, collection content location definitions, collection content datatype definitions, collection processing definitions, and collection results processing definitions. The specific information content of a collection type definition is determined by implementation policy. If desired, more complex definitions and more complex type definition information structures can be used to represent more complex collection structures, collection contents, or collection processing requirements.

[0186] Collection Content Classifier Means

[0187]FIG. 11 shows a simplified architecture for a classifier-enabled Application Program 120. Classifier-enabled application programs use collection classifiers to obtain useful information about collections and their contents, then subsequently use the obtained information to process collections in useful ways.

[0188] Get Runtime Information 121 obtains initial configuration information, command line arguments, and environment variable information, and then makes the obtained information available to the application invocation.

[0189] Collection Content Classifier Means 122 provides a list of organized collection content information to the invocation, including lists of collection content members, content types, associated processing actions that should be applied to the content members, and processing dependencies among the content members.

[0190] Collection Information 125 stores collection information for use by application programs that process collections.

[0191] Application Collection Processing Manager 123 is a software module that process collections in useful ways, using content classification information produced by a Collection Content Classifier Means 122.

[0192] Operation

[0193] In operation, Application Program 120 proceeds according to the simplified algorithm shown in FIG. 12.

[0194] First, Application Program 120 calls Get Runtime Information 121 to obtain useful invocation runtime information, including configuration settings, command line arguments, and environment variable settings. In particular, the collection to be classified and processed is usually obtained and provided as part of the invocation runtime information.

[0195] Next, Collection Content Classifier Means 122 is called to obtain classification information for the current collection being processed. In general, the output classification information answers the following four questions about a collection: (1) What content does the collection contain? (2) What are the content types of each content file? (3) What processing actions should be carried out on each content file? (4) What processing dependencies exist among content files?

[0196] Finally, Application Collection Processing Manager 123 is used to process the current collection in useful ways, in accordance with the previously obtained classification information, thereby fulfilling the overall function of Application Program 120.

[0197] Now that the overall program architecture has been introduced, more detailed explanations can be provided below.

[0198] Collection Classifier Manager Means

[0199]FIG. 13 shows a simplified architecture for a Collection Content Classifier Means 130. The main function of this module is to obtain and organize lists of collection content, content types, processing actions, and content interdependencies, for use by application programs. A Collection Classifier Means 130 is not responsible for executing processing actions on collections; instead, classifiers are limited to performing an information gathering role.

[0200] Get Classification Runtime Information 131 is responsible for obtaining runtime information for classification operations. If Classifier Manager Means 130 is implemented as a standalone program, then Get Classification Runtime Information 131 is responsible for obtaining all runtime information for the program. However, if Classifier Manager Means 130 is implemented as a functional subroutine service or library to a calling program such as shown in FIG. 11, then much of work done by Get Classification Runtime Information 131 would naturally be provided by Get Runtime Information 121. The specific division of work between the two runtime modules is determined by implementation policy.

[0201] Get Collection Membership Information Manager 140 is responsible for producing an organized list of content members for the collection, as specified by a collection specifier. Not all computer files within a collection filesystem subtree need to appear on the final content list; files can be ignored if they match “ignore” policies set in the collection type definition for the collection being classified.

[0202] Assign Collection Content Types Manager 150 is responsible for determining and assigning a valid content type to each computer file appearing on the content list provided by Get Collection Membership Information Manager 140. Content types are important because they associate content member instances with predetermined type definition information that can be used to process content members in ways appropriate for their internal content.

[0203] Assign Collection Content Actions Manager 160 is responsible for using assigned content types to determine corresponding symbolic processing actions for each content member. A Collection Content Classifier Means 122 does not directly execute symbolic processing actions. Instead, classifiers classify, and other software modules translate assigned symbolic actions into executable processing instructions.

[0204] Calculate Collection Content Dependencies Manager 170 is responsible for determining processing dependencies among content members. Processing dependencies are important because they must be followed in order to ensure successful collection processing results. For example, a software build operation applied to a collection containing both a program and a library will fail if the library is not built before it is linked to the program module.

[0205] Finally, Output Content Classification Information 132 is responsible for organizing and presenting classification information to consumers of the information. For example, classification information could be passed to a calling program, be written to a display screen, be written to a computer file, or be sent over a network connection.

[0206] Operation

[0207] In operation, Collection Content Classifier Manager Means 130 proceeds according to the simplified algorithm shown in FIG. 14. Generally speaking, Collection Content Classifier Manager Means 130 calls modules 140-170 in numeric order to perform a classification operation.

[0208] First, the algorithm builds data structures to support the classification computation. For example, the algorithm might build data structures shown in FIGS. 15, 19, and 20. Specific data structure building behaviors are determined by implementation policy.

[0209]FIG. 15 shows a simplified top-level data structure “coll-class-content” for holding classification information. The first section Lines 3-5 contains information relating to the particular collection instance being classified. For example, this section might contain a collection data structure such as shown in FIG. 8. The second section Lines 6-8 contains classification information describing content members of the collection. The third section Lines 9-14 contains type definition information used to classify the collection.

[0210] Next, the algorithm calls Get Classification Runtime Information 131 to obtain and make runtime information available to the invocation.

[0211] Next, the algorithm calls Get Collection Membership Information Manager 140 to obtain a list of interesting content files within the collection. The list of content files is stored within data structures FIG. 15, 19, and 20, and is returned to Collection Content Classifier Manager Means 130 for further processing. Details of constructing collection content lists are provided in a later section of this document. Membership information may be usefully returned to the calling program at this point if content type assignment is not required.

[0212] Having obtained a list of content members, Collection Content Classifier Manager Means 130 calls Assign Collection Content Types Manager 150 to determine a content type for each content member in the content list. Content types are generally determined by examining file names and file contents.

[0213] Assigned content types are written into “content-class-entry” data structures FIG. 20, and returned to the calling module Collection Content Classifier Manager Means 130 for further processing. Details of content type classification are provided in a later section of this document. Content type information may be usefully returned to the calling program at this point if action assignment is not required.

[0214] Once content types have been assigned, Collection Content Classifier Manager Means 130 calls Assign Collection Content Actions Manager 150, which uses the assigned content types to further assign symbolic processing actions to content members. Processing actions are normally determined by performing a simple type-action table lookup, using the assigned content type as a key into a table of actions.

[0215] Resulting action values are written into “content-class-entry” data structures FIG. 20, and returned to the calling module Collection Content Classifier Manager Means 130 for further processing. Details of action assignment classification are provided in a later section of this document. Action values may be usefully returned to the calling program at this point if dependency calculations are not required.

[0216] Having obtained content type and action values, Collection Content Classifier Manager Means 130 calls Calculate Collection Content Dependencies Manager 170 to determine processing dependencies among content members. Dependency determination normally requires parsing of the internal content of each content member within a collection product. Parsing can be performed by either internal or external dependency parsers. Providing for external parsers is important because it allows a collection classifier to be easily extended to support new content languages that were not supported when the classifier was first constructed.

[0217] Dependency information is written into “content-class-entry” data structures FIG. 20, and returned to the calling module Collection Content Classifier Manager Means 130 for further processing. Details of dependency parsing and calculation are provided in a later section of this document.

[0218] Having thus obtained a list of collection content members and their corresponding content types, action values, and processing interdependencies, Collection Content Classifier Manager Means 130 has completed its main function of classifying a collection.

[0219] Finally, Collection Content Classifier Manager Means 130 calls Output Content Classification Information 132 to perform final organizing and distribution of classification results. For example, results could be displayed on a computer screen, written to a computer file, or be sent over a network connection.

[0220] Importantly, classification results are normally returned to the calling module Collection Content Classifier Manager Means 130, which in turn would make them available to Application Program 120 and Application Collection Processing Manager 123 for subsequent use in processing the current collection.

[0221] A “coll-class-content” data structure FIG. 15, when fully populated, contains essentially all classification information that there is to know about a collection. Although FIG. 15 shows the “coll-class-content” data structure as a single data structure for presentation clarity, a plurality of smaller data structures could be also used to carry equivalent information. The specific size, content, and nature of particular data structures are determined by implementation policy.

[0222] It should be noted that Collection Content Classifier Manager Means 130 is not required to execute all steps 5-7 of algorithm FIG. 14. Instead, the algorithm could usefully return partial constructed membership information to the calling software after step 4, 5, or 6 if the information produced by the following steps 5, 6, or 7 was not required. This is because partial classification information is useful on its own. For example, membership information (step 4) is still useful without type, action, and dependency information. Typed membership information (steps 4-5) is still useful without action and dependency information. And membership, type, and action information (steps 4-6) is still useful without dependency information.

[0223] Collection Type Information

[0224] Classifying collection content is essentially a matching process between collection instance values and predetermined classification criteria. For instance, collection content membership is determined by matching file names against membership definition criteria. Collection content types are determined by matching content member file names or internal file contents against content type definition criteria. Content actions are determined by matching content types against predetermined type-action pairs, and so on.

[0225] This section describes a preferred implementation for managing predetermined collection type definition information that can be used in collection classification processes.

[0226]FIG. 16 shows a four-level type definition hierarchy for collection classification information that is used by a Collection Content Classifier Means 130.

[0227] Lines 1-4 show four major levels in the type definition tree. The first level Line 1 models whole collection types. The second level Line 2 models product types within collection types. The third level Line 3 models content types within product types. The fourth level Line 4 models action types within content types.

[0228] Importantly, each level provides human users an opportunity to customize subsequent type definition information lower in the tree. For example, two different collection types FIG. 16 Lines 8-9 could have two completely different product type definitions for the same product name. Similarly, two different product types within the same collection type could specify lists of completely different content types, or different content definitions for the same content type name. Two different content types within the same product type could specify completely different action types, and so on. This type hierarchy provides valuable flexibility to human users that must define collection type information for various computational situations.

[0229] In practice, closely related types frequently share type definition information because sharing reduces type information maintenance costs. Typically, environments that use closely related collection types will share more information than environments that use unrelated collection types. Particular amounts of information sharing and overlap are determined by implementation policy.

[0230]FIG. 16 Lines 5-24 show several related excerpts from example type definition files.

[0231] In what follows, excerpts will be used to show how type definitions are chained together to form a type definition hierarchy for a typical collection. The example collection contains two products, a program and library written in the “C” programming language.

[0232]FIG. 16 Line 5 shows the name of an example collection specifier file such as shown in FIG. 2 Line 5 and FIG. 3. Only one interesting line from the example collection specifier file is shown on Line 6, to save presentation space. Line 6 provides a collection type indicator “ct-program” that specifies the collection type of the collection. The collection type “ct-program” indicates that the host collection contains source code files for an executable “C” program.

[0233] Lines 7-9 represent an index file of collection types known to the implementation. Using the collection type “ct-program” Line 6 as a key into the index table, Line 8 Column 2 provides the name of a corresponding collection type definition file “ct-program.def”.

[0234] Lines 10-11 represent an excerpt of a collection type definition file for the “ct-program” collection type. Each collection type definition file must provide a list of known products for its collection type. Line 11 Column 2 provides the filename of an index file that lists known product types for the “ct-program” collection type.

[0235] Lines 12-13 represent an index file of known product types for the “ct-program” collection type. Line 13 contains a product type name “pt-program” that points to a product type definition file “pt-program.def”.

[0236] Lines 14-15 represent a product type definition file for the “pt-program” product type. Line 15 provides the filename of an index file of known content types for the product type “pt-program”.

[0237] Lines 16-17 represent an index file of known content types for the “pt-program” product type. Line 16 contains a content type name “content-c” that points to a content type definition file “content-c.def”.

[0238] Lines 18-19 represent a content type definition file for the “content-c” content type. Line 19 provides the filename of an index file of known action types for the content type “content-c”.

[0239] Lines 20-21 represent an index file of known action types for the “content-c” content type. Line 21 contains an action type name “action-c” that points to an action type definition file “action-c.def”.

[0240] Lines 22-24 represent an action type definition file for the “action-c” action type. Lines 23-24 specify that an internal parser named “internal-c” should be used to parse content files for dependencies.

[0241] The four levels shown above correspond to natural, practical problem boundaries. First, the collection type level models the types and characteristics of whole collections. Second, since collections may contain multiple products, a product type level is useful to model products. Third, since products are comprised of files containing various types of content, a content type level is useful for modeling those content files. And fourth, since various types of content files require different processing actions, an action type level is useful for modeling the various actions.

[0242] Now that an overview of the fundamental four-level type hierarchy has been presented, the discussion will return to describing how a collection classifier uses the type hierarchy to classify collections.

[0243] Collection Content Lists

[0244]FIG. 17 shows a simplified architecture for a Get Collection Membership Information Manager module 140. The main function of this module is to dynamically generate a list of interesting collection content members for each product contained within the collection.

[0245] Get Collection Information 141 obtains collection information from a Collection Information Manager 111 (see “Cross References to Related Patent Applications” at the beginning of this document for more information). Collection Information Manager 111 returns at least collection specifier information 102, which may include lists of multiple products, special filesets, and collection membership information.

[0246] Get Collection Product Directory Type Definitions 142 is responsible for obtaining several parts of the four-level type hierarchy for use in constructing a content membership list. Subordinate module Get Collection Type Definition Information 143 obtains and returns collection type definition information, corresponding to the first level of the type hierarchy previously discussed. Subordinate module Get Product Type Definition Information 144 obtains and returns product type definition information, corresponding to the second level of the type hierarchy previously discussed. Subordinate module Get Source Directory Definition Information 145 obtains and returns lists of directories that should be searched for collection content files.

[0247] Get Product Content List 146 is responsible for constructing a list of collection contents, organized by collection product. Subordinate module Get Platform Source Directory Lists 147 selects a platform-relevant subset of directories from the list of directories produced by Get Source Directory Definition Information 145 above. Subordinate module Search Source Directories 148 performs a search of relevant directories to obtain and return a list of collection content files.

[0248] Operation

[0249] In operation, Get Collection Membership Information Manager 140 proceeds according to the simplified algorithm shown in FIG. 18.

[0250] First, the algorithm builds implementation data structures to support the construction of a collection content list. In particular, data structures shown in FIGS. 19-20 would be constructed if not already constructed by earlier modules.

[0251] Next, the algorithm obtains a list of collection products by calling Get Collection Information 141 and Collection Information Manager 111. In particular, this process step will produce a collection type, a list of collection products, and a list of corresponding product types. It may also produce other collection specifier information, including a list of special filesets.

[0252] Next, the algorithm uses the obtained collection type and product types to obtain complete type definition information from the four-level type hierarchy. Get Collection Membership Information Manager 140 calls Get Collection Product Directory Type Definitions 142 and subordinate modules 143-145 to perform the work involved.

[0253] Next, Get Collection Type Definition Information 143 is called to obtain collection type definition information by reading collection type index files and definition files such as those shown in FIG. 21, Lines 1-4 and Lines 5-8 respectively. Collection type information so obtained is stored in data structures FIG. 15 Line 10 for subsequent use.

[0254] Next, Get Product Type Definition Information 144 is called to obtain product type definition information by reading product type index files and definition files such as those shown in FIG. 22, Lines 1-5 and Lines 6-12, respectively. Product type information so obtained is stored in data structures FIG. 15 Line 11 for subsequent use.

[0255] Next, Get Source Directory Definition Information 145 is called to obtain lists of directories that should be searched for collection content files, as shown by FIG. 22 Lines 8-9 and FIGS. 23-24. Note that multiple per-platform directory sets are contained within the definition files shown in FIGS. 23-24. For example, Lines 2-6 specify directories for the “gnulinux2” platform. Other classifier modules eventually select a particular per-platform directory set for the platform currently being classified.

[0256] Next, Get Product Content List 146 is called to produce a content membership list for each product within the host collection. Get Product Content List 146 first calls subordinate module Get Platform Source Directory Lists 147 to obtain and return a set of directories corresponding to the particular computing platform for which the collection is being classified. The use of per-platform content source directories is described at length in the following section.

[0257] Finally, Get Product Content List 146 calls Search Source Directories 148 to search the selected source directories to find content files. Found content files are stored in data structures FIGS. 19-20 and returned to Get Collection Membership Information Manager 140 for subsequent classification use.

[0258] Collection Content Directories

[0259] Classification of content with respect to computing platform is important because collections can contain platform-dependent source files. It follows that a collection content classifier must identify only those files corresponding to the current classification platform. Otherwise, an incorrect set of content files will be identified, leading to incorrect collection product results.

[0260] The current classification platform is usually a platform subdirectory immediately beneath the root directory of the collection subtree. For example, FIG. 25 shows two platform directories “win98.plt” Line 27 and “gnulinux2.plt” Line 29. Importantly, source directory lists such as those shown in FIGS. 23-24 are usually constructed with relative pathnames based on platform directories. For example, if “win98.plt” FIG. 25 Line 27 is the current classification platform directory, then the source directory relative pathname “../s/win98” FIG. 23 Line 7, points to a source directory “win98.plt” FIG. 25 Line 11, that contains a platform dependent source file “file2-pd.c” on Line 12.

[0261]FIG. 26 illustrates how content files from FIG. 25 are selected using source directory lists from FIGS. 23-24. FIG. 25 shows an example collection tree structure with nested source directories and library directories. The example collection in FIG. 25 is more complex than typical collections in order to illustrate the use of per-platform source directories. FIG. 26 shows the content files that would be selected for the “win98” platform and for the “gnulinux2” platform, respectively.

[0262] In operation, directories are selected as follows. First, a product type definition file “pt-program.def” FIG. 22 specifies the filenames of source directories for program and library source files, Lines 8 and 9 respectively. FIG. 23 shows example source directory pathname definitions for program source files. FIG. 24 shows example source directory pathname definitions for library source files.

[0263] Supposing that the current classification platform is “win98”, Get Platform Source Directory Lists 147 would select Lines 7-10 from FIG. 23 for use in identifying program source files for product type “pt-program” as defined in FIG. 22. Similarly, Lines 7-10 from FIG. 24 would be selected for use in identifying library source files for product type “pt-program” as defined in FIG. 22.

[0264] Search Source Directories 148 proceeds to find content files by traversing directory lists in order from most platform-specific to least platform-specific. The main idea is to find and use the most platform-specific content files available. This method makes it easy for programmers and collection authors to share files among platforms, and to override shared files with special, more platform-specific files when the need arises. The most-to-least order corresponds to a top-to-bottom order in FIGS. 23-24.

[0265] Continuing with the “win98” platform, Search Source Directories 148 would begin with the directory shown on Line 7 of FIG. 23, and would progress toward Line 10. Line 7 names a directory containing files for only the “win98” platform. Line 8 names a directory containing files that could be shared among all “win” platforms. Line 9 names a directory containing platform-independent files. Line 10 also names a directory that contains files shared by all platforms.

[0266] In practice, the “s” directory named in Line 10 will not contain content files if a subordinate “pi” directory such as the one named in Lines 9 exists. In such cases, platform-independent files that would normally reside in “s” are moved into subordinate directory “pi” so that all content files will reside at the same level in the source tree.

[0267]FIG. 26 shows the result of searching collection tree FIG. 25 using program FIG. 23 and library directory FIG. 24 sets for “win98” and “gnulinux2” platforms respectively. As can be seen from the file pathnames shown in FIG. 26, the most platform-specific version of each available file has been selected.

[0268] Having thus obtained a list of content files for each product in the collection, classification continues by assigning a content type to each content member.

[0269] External Collection Content

[0270]FIG. 27 shows a collection specifier containing special collection content control directives Lines 7-9 for an external source directory and external source file.

[0271] The term “external” means that the content is stored outside of the natural collection directory subtree that is rooted at the location of the collection specifier file. For example, the natural collection subtree of FIG. 25 is rooted on Line 2, at the directory “c:\collections\c-mystuff”.

[0272] External content is useful in practice for sharing content among several collections, or for including files from remote directories into a local collection. For example, third-party source or object files located in remote directories are sometimes required to build local collection products.

[0273] One possible solution to this part of the collection content membership problem is to provide a means for including the remote directories in the list of source directories that are searched for content files, as described above.

[0274]FIG. 27 Lines 7-9 show three examples of how collection content control directives for external directories interact with source directory lists specified by the product type, such as shown in FIGS. 23-24.

[0275] The “memdir” directive on Line 7 specifies a directory that will be searched instead of the product type source directories, thereby overriding and effectively replacing the entire set of product type source file directories. Multiple “memdir” collection content control directives can be provided to create a set of external directories to be searched.

[0276] The “memdir-prepend” directive on Line 8 specifies a search directory that should be prepended to the set of normal product type source directories. This directive is used when an external directory has a higher search order precedence than all source directories specified by the product type definition.

[0277] The “memdir-append” directive on Line 9 specifies a search directory that should be appended to the set of normal product type source directories. This directive is used when an external directory has a lower search order precedence than all source directories specified by the product type definition.

[0278]FIG. 27 Lines 10-12 show three examples of how external file directives interact with source files that are found with directory lists that are specified by the product type.

[0279] The “memfile” directive on Line 10 shows an example of how a single remote file could be specified for inclusion in the collection content list. The “memfile” directive specifies that no product search directory lists should be used. Instead, product membership is completely determined by “memfile” directives. This mechanism allows users to completely specify product membership information using “memfile” directives.

[0280] The “memfile-prepend” directive on Line 11 prepends the specified file “file.c” to the list of member files found by using normal product search directories. Filenames provided in the directive override duplicate filenames found in search directories. This mechanism enables users to ensure that specific files in directives override the use of same-name files found by search directory methods.

[0281] The “memfile-append” directive on Line 12 appends the specified file “file2.c” to the list of member files found by using normal product search directories. Filenames found in search directories override filenames in directive statements. This mechanism enables users to ensure that same-name files found by search directory methods override the use of specific filenames in directive statements.

[0282] In operation, Get Collection Information 141 retrieves special directory and filename directive information from collection specifiers via Collection Information Manager Means 111. Get Collection Information 141 returns the retrieved collection information to Get Collection Membership Information Manager 140, which in turn passes the special directive information into Get Product Content List 146 for use in building desired product content lists.

[0283] Collection Content Types

[0284]FIG. 28 shows a simplified architecture for an Assign Collection Content Types Manager module 150. The main function of this module is to assign content types to collection content members.

[0285] Get File Identification Definition Information 151 obtains file identification information such as that shown in FIG. 30, and writes it into a data structure FIG. 15 Line 12 for use by other collection classifier modules.

[0286] Identify Collection Content Types 152 uses file identification information FIG. 30 to determine a content type for each file in the collection content list produced earlier by Get Collection Membership Information Manager 140.

[0287] Record Collection Content Types 153 writes the assigned content type into a “content-class-entry” data structure FIG. 20 Line 4 for use by other collection classifier modules.

[0288] Operation

[0289] In operation, Assign Collection Content Types Manager 150 proceeds according to the simplified algorithm shown in FIG. 29.

[0290] First, the algorithm builds data structures required for the computation. For example, a data structure might be built to hold the file identification information shown in FIG. 30.

[0291] Next, the algorithm calls Get File Identification Definition Information 151 to obtain file identification information FIG. 30 for use in the type assignment process. Information is typically loaded into a simple data structure and returned to the calling module.

[0292] Next, the algorithm calls Identify Collection Content Types 152 to determine a content type for each file in the collection content list produced earlier by Get Collection Membership Information Manager 140. File identification information such as that shown in FIG. 30 is used to perform the content type assignment, as follows.

[0293] Four methods of content type identification are shown in FIG. 30: exact, suffix, tail, and content. Column 1 specifies one of the four possible match types. Column 2 specifies a match string used by the match type. Column 3 specifies the associated content type.

[0294] The exact method proceeds by matching the exact filename of a content member to a match string from Column 2. For example, suppose the exact filename of a content member was “junkfile”. In that case, Identify Collection Content Types 152 would find a match between the filename and Line 3 column 2 of FIG. 30. It would therefore assign the associated Column 3 content type of “ignore” to the content entry in FIG. 20 Line 4.

[0295] A content type of “ignore” means that the content member can be ignored by subsequent steps of the classification process. In practice, the content entry is usually removed from the collection content list. This is an efficient mechanism for ignoring files that are not interesting to application programs.

[0296] The suffix method proceeds by matching the filename suffix string to a match string from Column 2. For example, a filename of “file1.c” would match Line 7 Column 2, and would result in a content type of “c-source”.

[0297] The tail method proceeds by matching trailing characters of a filename to a match string from Column 2. For example, some text editor programs produce automatic backup files with filenames that are formed by appending a trailing tilde to the original filename. Thus a filename of “filel.c˜” would match Line 5 Column 2, and would result in a content type of “ignore”. This is an appropriate result, because application programs typically want to work with the original data files, not old backup files.

[0298] The content method proceeds by matching the first line of internal file content to a match string from Column 2. This method is appropriate for determining the content type of files that have no external file naming conventions. For example, Unix shell script files can have arbitrary names, and do not usually have consistent filename suffix strings. In these cases, Identify Collection Content Types 152 reads the first line of the internal file content and compares it against a match string from Column 2. Typical Unix csh scripts that contained a first line consisting of “#!/bin/csh” would therefore match Line 6 Column 2, and would result in a content type of “csh”.

[0299] As each new content type is determined, the content type value is recorded in the associated “content-class-entry” data structure FIG. 20 Line 4 for later use.

[0300] The classification process has now constructed a list of content members and their associated content types. The next phase assigns content processing actions.

[0301] Special Fileset Types

[0302] Sometimes special files within a collection require special, non-standard processing. For example, a few Fortran files out of hundreds might be too large for the compiler code optimization feature. This is an important problem for automated systems, because special cases do exist in practice, and cannot be ignored. Collection special filesets are a solution to this problem.

[0303]FIG. 31 shows a collection specifier containing an example fileset specification. The main idea behind a special fileset specification is to explicitly assign a special content type to members of a fileset. Fileset-assigned content types override the normal content type mechanism.

[0304]FIG. 31 Lines 7-9 show a fileset specification. Lines 7-8 associate a fileset name “myset” with three special files that belong to the fileset. In this example, three Fortran filenames are associated with the fileset. Line 9 then associates the fileset name “myset” with a special content type “content-no-optimize”. In this example, the special content type means that the special files should be compiled with no code optimization.

[0305] In operation, Record Special Fileset Types 153 obtains fileset information from collection specifier information that was first obtained by Get Collection Information 141, and records the necessary content types. Importantly, content types assigned by the fileset mechanism override content types assigned by the normal, dynamic file identification mechanism.

[0306] Collection Content Actions

[0307]FIG. 32 shows a simplified architecture for an Assign Collection Actions Manager module 160. The main function of this module is to assign processing actions to collection, product, and content members in accordance with their collection, product, and content types. That is, types determine processing actions.

[0308] Get Content Type Definition Information 161 obtains content type definitions from files such as those shown in FIG. 34, and writes the information into a data structure FIG. 15 Line 13 for later use.

[0309] Get Action Type Name Information 162 obtains action type definitions from files such as those shown in FIG. 35, and writes the information into a data structure FIG. 15 Line 14 for later use.

[0310] Identify All Action Matches 163 assigns language types and processing actions to content members by using previously assigned content type indicators FIG. 20 Line 4 and content type definition information obtained by Get Content Type Definition Information 161. In addition, Identify All Action Matches 163 identifies appropriate actions for the current collection and its products. Example collection actions are shown in FIG. 21 Lines 8-10. Example product actions are shown in FIG. 22 Lines 12-13.

[0311] Record Action Matches 166 writes assigned content language and content action values into a “content-class-entry” data structure FIG. 20 Lines 5-6 for later use. It also further records collection actions FIG. 15 Line 5 and product actions FIG. 19 Line 4 in data structures for later use.

[0312] Operation

[0313] In operation, Assign Collection Actions Manager module 160 proceeds according to the simplified algorithm shown in FIG. 33.

[0314] First, the algorithm builds data structures required to support the computation. In this case, the most important data structures have already been built by earlier algorithms.

[0315] Next, the algorithm calls Get Content Type Definition Information 161 to obtain content type definitions from files such as those shown in FIG. 34, and writes the information into a data structure FIG. 15 Line 13 for later use.

[0316] In practice, it may be more efficient to load only those content type definitions that are required by the content types present in the collection content list. However, this is an implementation policy decision, and is strongly affected by the particular numbers of content types involved in particular invocation situations. The same analysis holds true for all type definitions.

[0317] Next, Get Action Type Name Information 162 is called to obtain action type definitions from files such as those shown in FIG. 35, and writes the information into a data structure FIG. 15 Line 14 for later use.

[0318] Next, Identify All Action Matches 163 assigns language types and processing actions to content members by using previously assigned content type indicators FIG. 20 Line 4 and content type definition information obtained by Get Content Type Definition Information 161. It also identifies collection actions and product actions.

[0319] To illustrate the action assignment process, suppose that a content member “file1.c” was previously assigned a content type of “c-source” by Assign Collection Content Types Manager 150.

[0320] Identify All Action Matches 163 proceeds by first obtaining a content type indicator FIG. 20 Line 4 for the content member. Next, the content type is used as a key into an “index-content-types.tbl” file FIG. 34, and matches Line 2 of the table. Column 2 of Line 2 specifies the filename of the complete content type definition, “content-c.def”.

[0321] Identify All Action Matches 163 continues by obtaining a complete content type definition for the “c-source” content type. The content type definition information is obtained from a data structure FIG. 15 Line 13, where it was previously stored by Get Content Type Definition Information 161.

[0322] Identify All Action Matches 163 continues by extracting language and action indicators FIG. 34 Lines 9-10 from the content type definition, and passing them to Record Action Matches 166 for storing in data structures.

[0323] Identify All Action Matches 163 does not need to dynamically determine matches at the collection and product levels. Instead, it simply copies predetermined explicit actions from collection type definitions FIG. 21 Lines 9-10 and product type definitions FIG. 22 Line 13.

[0324] Finally, Record All Action Matches 166 writes the obtained language and action indicators into a “content-class-entry” data structure FIG. 20 Lines 5-6 for later use. It also writes out the collection and product actions into appropriate data structures FIG. 15 Line 5, FIG. 19 Line 4, and thereby completes the action assignment process.

[0325] Collection Product Actions

[0326] Product actions are symbolic actions associated with collection products. For example, program products typically have a “link” product action to link product object files together to form an executable program. Similarly, library products typically have an “archive” product action to archive the library object files into a library file.

[0327] Product actions are explicitly defined as part of product type definitions, so collection content classifiers can simply copy the product actions from product type definitions into classification output data structures. No dynamic searching for products in source directories or matching product types to products needs to occur. An example product action in a program product type definition is shown in FIG. 22 Line 13. An example product action in a classification output for a library product type definition is shown in FIG. 42 Line 8.

[0328] Collection Actions

[0329] Collection actions are symbolic actions associated with whole collections, rather than with particular products or content files. For example, a collection product might have a global “cleanup” action to clean up all products and platforms within the collection, or a global “checkin” action to check in all files within the collection.

[0330] Collection actions are explicitly defined as part of collection type definitions, so collection content classifiers can simply copy the collection actions from collection type definitions into classification output data structures. No dynamic searching for collections in source directories or matching collection types to collections needs to occur. Two example collection actions in a collection type definition are shown in FIG. 21 Lines 9-10. The same two example collection actions are shown in FIG. 41 Lines 4-5, as part of the classification output for a collection.

[0331] Collection Content Dependencies

[0332]FIG. 36 shows a simplified architecture for a Calculate Collection Content Dependencies Manager module 170. The main function of this module is to determine a list of processing dependencies for each file on the collection content list.

[0333] Note that a separate dependency list may be required for each different processing action, because different processes can have completely different dependency semantics. In practice, software build order dependencies are satisfactory for most actions.

[0334] Get Content Parser Name 171 obtains a parser type and parser name from an action type definition such as shown in FIG. 35 Lines 6-8.

[0335] Parse Content For Dependencies 172 performs the required dependency parsing using either an internal or external parser, in accordance with the parser type obtained by Get Parser Name 171. Internal Parser Means 173 is used for parser types of “internal” FIG. 35 Line 7. External Parser Means 174 is used for parser types of “external”.

[0336] Record Dependency Information 175 records dependency information produced by Parse Content For Dependencies 172 into a “content-class-entry” data structure FIG. 20 Line 7.

[0337] Operation

[0338] In operation, Calculate Collection Content Dependencies Manager module 170 proceeds according to the simplified algorithm shown in FIG. 37.

[0339] First, the algorithm builds data structures required to support the computation. In this case, the most important data structures have already been built by earlier algorithms.

[0340] Next, the algorithm treats each content member in the collection content list.

[0341] For each content member, the algorithm calls Get Content Parser Name 171 to obtain a parser type and parser name from the action type definition information FIG. 15 Line 14 previously obtained.

[0342] The algorithm continues by calling Parse Content For Dependencies 172, which manages the collection of dependency information. In particular, Parse Content For Dependencies 172 uses the parser type to decide whether to call Internal Parser Means 173 or External Parser Means 174 to perform the actual dependency parsing.

[0343] In practice, most action types specify the use of an internal parser, because it is straightforward for preferred classifier implementations to support popular content languages. In contrast, the external parser mechanism is provided mostly for new or non-mainstream languages, where it would be inconvenient or costly to add a rarely-used internal parser to an existing classifier implementation. Importantly, the external parser mechanism requires only changes to data files, and does not require changes to the programming code of the existing classifier implementation.

[0344] Having decided which type of parser to use based on the parser type, Parse Content For Dependencies calls one of the subordinate modules 173-174 to perform the parsing work, and passes in the specified parser name as an argument to the invocation.

[0345] Subordinate modules 173-174 perform the parse, and return dependency information back to Parse Content For Dependencies 172.

[0346] Parsing content files for dependency information is a well understood activity in the prior art. Such parsing uses simple text string manipulation techniques known to those with ordinary skill in the art. In addition, many examples can be found within the literature, within text books, and within freeware source code examples on the Internet. Some example freeware implementations of dependency parsers are even several decades old. Therefore no particular parsing algorithms are described here.

[0347] External parsers, if used, receive various arguments as part of the parser invocation. One argument could be the name of an input file to parse, and another argument could be the name of an output file. The output file could contain a list of dependencies implied by the contents of the input file. FIG. 38 shows an example of an external parser interface. Lines 2-3 show example parser command invocation lines that contain the names of input and output filenames. Lines 5-8 show an example output file containing dependency information for a C file named “file1.c” that contains three include files as dependencies.

[0348] Record Dependency Information 175 records the dependency information in a “content-class-entry” data structure FIG. 20 Line 7.

[0349] Finally, all data structures are returned to Collection Content Classifier Manager Means 130, thereby completing the collection content classification process.

[0350] Classification information is disseminated by Output Content Classification Information 132 according to implementation and invocation policies, or returned to the calling module or application program that originally called Collection Content Classifier Manager Means 130.

[0351] Classification Output Example

[0352] FIGS. 39-44 show a consistent round-trip example of collection content classification. FIG. 39 shows a collection tree structure containing various platform dependent and independent source files. FIG. 40 shows the associated collection specifier file, containing two collection products: a program and a library.

[0353] Several aspects of the example are worthy of mention.

[0354]FIG. 41 shows Part 1 of the classification output information for the collection of FIG. 39. Part 1 emphasizes classification information for the program product.

[0355]FIG. 42 shows Part 2 of the classification output information. Part 2 emphasizes classification information for the library product.

[0356] Classification output is shown for the “win98” platform, so no “gnulinux2” content files are shown in the classification output.

[0357] All pathnames shown are relative to the “win98.plt” platform directory, since a platform directory is normally the current working directory when processing a collection.

[0358]FIG. 41 Line 10 shows an example of a product-level action, which behaves exactly like a content type action, except that the action is associated with the product level instead of the content level. In this particular case, the product action is “link”, which represents the necessity of linking compiled object programs in order to produce an executable program. Product-level actions are defined by product type definitions, such as shown by FIG. 22 Line 13. Since product actions are already associated with collection products by virtue of being defined in product type definitions, there is no need for a dynamic action assignment manager such as Assign Collection Content Actions Manager 160.

[0359]FIG. 41 Lines 11-16 and Lines 17-24 are essentially text representations of “content-class-entry” data structures as shown in FIG. 20. Line 15 shows a content action of “none” because the content member file “cmdline.h” needs no processing actions such as compiling or linking. In contrast, Line 21 shows a content action of “action-c-source”, which represents the physical action of compiling the file. Lines 22-23 show that content member “cmdline.c” depends on two include files “cmdline.h” and “libfuns.h”.

[0360]FIG. 42 Line 8 shows a content action of “archive”, which represents the idea of binding compiled object files into a library archive file. Multiple content actions are allowed. For example, Line 9 shows a second content action of “export-lib-for-sharing”, which represents the idea of exporting the bound library archive product to a filesystem location where it can be shared (linked to) by programs that want to use the library. Similarly, Line 14 exports the C header file “libfuns.h”, which describes the library functions to programs that link to the library.

[0361] As can be seen from the foregoing disclosure, collection content classifiers provide a scalable, fully-automated way of classifying collection contents for application programs that must process collections. In addition, the four-level type hierarchy provides a flexible, extensible means for implementing local site content classification policies. Thus collection classifiers provide a very useful service to organizations and application programs that want to process collections automatically.

CONCLUSION

[0362] The present Collection Content Classifier invention provides practical solutions to seven important collection content classification problems faced by builders of automated collection processing systems. The problems are: (1) the general collection content classification problem, (2) the collection multiple product problem, (3) the collection content membership problem, (4) the collection special fileset problem, (5) the collection content type assignment problem, (6) the collection action assignment problem, and (7) the collection content dependency problem.

[0363] In particular, the preset Collection Content Classifier invention provides answers to the following practical processing questions that must be answered by automated collection processing systems before processing can begin: (1) What products are specified by the collection? (2) What files are in the collection, the products, and the special filesets? (3) What are the content types of the files? (4) What processing actions should be applied to the collection, to the products, to the filesets, and to the content files? (5) What processing dependencies exist among the various content files?

[0364] As can be seen from the foregoing disclosure, the present collection content classifier invention provides automated collection processing systems with a practical means for obtaining large amounts of practical collection processing information in a convenient, automated, and scalable way that was not previously available.

RAMIFICATIONS

[0365] Although the foregoing descriptions are specific, they should be considered as sample embodiments of the invention, and not as limitations. Those skilled in the art will understand that many other possible ramifications can be imagined without departing from the spirit and scope of the present invention.

[0366] General Software Ramifications

[0367] The foregoing disclosure has recited particular combinations of program architecture, data structures, and algorithms to describe preferred embodiments. However, those of ordinary skill in the software art can appreciate that many other equivalent software embodiments are possible within the teachings of the present invention.

[0368] As one example, data structures have been described here as coherent single data structures for convenience of presentation. But information could also be could be spread across a different set of coherent data structures, or could be split into a plurality of smaller data structures for implementation convenience, without loss of purpose or functionality.

[0369] As a second example, particular software architectures have been presented here to more strongly associate primary algorithmic functions with primary modules in the software architectures. However, because software is so flexible, many different associations of algorithmic functionality and module architecture are also possible, without loss of purpose or technical capability. At the under-modularized extreme, all algorithmic functionality could be contained in one software module. At the over-modularized extreme, each tiny algorithmic function could be contained in a separate software module.

[0370] As a third example, particular simplified algorithms have been presented here to generally describe the primary algorithmic functions and operations of the invention. However, those skilled in the software art know that other equivalent algorithms are also easily possible. For example, if independent data items are being processed, the algorithmic order of nested loops can be changed, the order of functionally treating items can be changed, and so on.

[0371] Those skilled in the software art can appreciate that architectural, algorithmic, and resource tradeoffs are ubiquitous in the software art, and are typically resolved by particular implementation choices made for particular reasons that are important for each implementation at the time of its construction. The architectures, algorithms, and data structures presented above comprise one such conceptual implementation, which was chosen to emphasize conceptual clarity.

[0372] From the above, it can be seen that there are many possible equivalent implementations of almost any software architecture or algorithm, regardless of most implementation differences that might exist. Thus when considering algorithmic and functional equivalence, the essential inputs, outputs, associations, and applications of information that truly characterize an algorithm should also be considered. These characteristics are much more fundamental to a software invention than are flexible architectures, simplified algorithms, or particular organizations of data structures.

[0373] General Software Ramifications

[0374] The foregoing disclosure has recited particular combinations of program architecture, data structures, and algorithms to describe preferred embodiments. However, those of ordinary skill in the software art can appreciate that many other equivalent software embodiments are possible within the teachings of the present invention.

[0375] As one example, data structures have been described here as coherent single data structures for convenience of presentation. But information could also be could be spread across a different set of coherent data structures, or could be split into a plurality of smaller data structures for implementation convenience, without loss of purpose or functionality.

[0376] As a second example, particular software architectures have been presented here to more strongly associate primary algorithmic functions with primary modules in the software architectures. However, because software is so flexible, many different associations of algorithmic functionality and module architecture are also possible, without loss of purpose or technical capability. At the under-modularized extreme, all algorithmic functionality could be contained in one software module. At the over-modularized extreme, each tiny algorithmic function could be contained in a separate software module.

[0377] As a third example, particular simplified algorithms have been presented here to generally describe the primary algorithmic functions and operations of the invention. However, those skilled in the software art know that other equivalent algorithms are also easily possible. For example, if independent data items are being processed, the algorithmic order of nested loops can be changed, the order of functionally treating items can be changed, and so on.

[0378] Those skilled in the software art can appreciate that architectural, algorithmic, and resource tradeoffs are ubiquitous in the software art, and are typically resolved by particular implementation choices made for particular reasons that are important for each implementation at the time of its construction. The architectures, algorithms, and data structures presented above comprise one such conceptual implementation, which was chosen to emphasize conceptual clarity.

[0379] From the above, it can be seen that there are many possible equivalent implementations of almost any software architecture or algorithm, regardless of most implementation differences that might exist. Thus when considering algorithmic and functional equivalence, the essential inputs, outputs, associations, and applications of information that truly characterize an algorithm should also be considered. These characteristics are much more fundamental to a software invention than are flexible architectures, simplified algorithms, or particular organizations of data structures.

[0380] Collection Content Classifier Manager

[0381] A collection content classifier can be used in various practical applications.

[0382] One possible application is in configuration management systems, which could use a collection content classifier to obtain classification information for collections stored within the configuration management system.

[0383] Another possible application is in integrated development environments, which could use a collection content classifier to obtain classification information for collections being worked on by the integrated development system.

[0384] Another possible application is in application programs, which could use a collection content classifier to obtain classification information for a collection of interest to the application program.

[0385] Functional Enhancements

[0386] One possible functional enhancement is to implement a collection content classifier as a standalone program, thereby making it possible to inspect and classify collections outside of the context of any particular application program. Such a program would provide human workers with a means for understanding the contents of large numbers of collections without the need to physically inspect collections manually.

[0387] Classification Type Hierarchy

[0388] A four-level collection type information hierarchy was presented here, but other organizations of type information are also possible. One example is to use a linear type definition organization such as the one shown in FIG. 10, instead of using a hierarchical organization. Another example is to use a three-level hierarchy that has no action types, or no content types. Another example is to use a five-level hierarchy that supports sub-products of products.

[0389] Type definition hierarchies are stored externally outside collection subtrees in preferred implementations, but other implementations are also possible. One example is storing type information internally, within the main collection subtree. Another example is storing type definition information in a collection specifier file. Another example is storing type definition information in a relational database format, either inside or outside the host collection. All of these implementations have various tradeoffs between convenience, flexibility, locality of information, and accessibility for sharing. Particular tradeoff choices would be determined by implementation policy.

[0390] Collection Content Lists

[0391] In preferred implementations such as those described above, collection content lists are constructed by dynamically searching sets of source directories that are specified by product type definitions. However, other methods of constructing collection membership information are also possible.

[0392] One example is to use match expressions to search databases of candidate content search directories or of candidate content filenames. Matched directory names could be used to form sets of search directories. Matched filenames could be used directly as content files.

[0393] Another example is to use recursive directory expressions in search directory expressions. Such expressions would specify that whole directory subtrees should be searched for content files, rather than only individual directories, such as shown in FIG. 23.

[0394] Another example is to use various search expressions to search for collection content files stored in configuration management systems. In this approach, a set of dynamic search expressions could be used to match files stored in remote systems, so they could be included as collection content members. In other variations of this approach, match expressions could be used to refer to search directories or files on FTP servers, HTTP web servers, or other networked servers, such as shown in FIG. 10 Lines 5-7.

[0395] Another example is to use an explicit remote directory to fill the role of the current platform directory. This approach would allow a classifier to classify remote collections without requiring that the current working directory of the classifier computational process be set to a valid platform directory within a collection that is being classified.

[0396] Content Types

[0397] In preferred implementations such as described earlier, content types are determined using four file identification methods: exact, suffix, tail, and content. However, other methods of determining content types are also possible.

[0398] One example is to look up the current content filename in a database that associates whole filenames and content types.

[0399] Another example is to use an internal content inspection that goes deeper than the first line of a content file. For example, a parser might parse the entire file to see if the file contents are valid. Then the parser could assign a content type that indicated the validity “c-source-valid” or invalidity “c-source-invalid” of the internal content. This approach embeds a validity indicator directly into the content type, thereby enabling the classifier to assign different processing actions to valid and invalid files of identical base content types.

[0400] Simplifications

[0401] Various simplifications of preferred implementations are possible.

[0402] One example is to omit one or more classification actions where such information is not required by calling application programs. For example, dependency calculation, action assignment, or content type assignment could be omitted for increased performance and simplicity.

[0403] Another example is to use less type definition information. This would simplify an implementation, at the cost of reducing the knowledge and capabilities of the underlying classification process.

[0404] Another example is to skip the content type assignment step, and assign actions directly from the file identification process. This would simplify an implementation, at the cost of not being able to model content types separately, and at the cost of not being able to share action type definitions among content types.

[0405] Finally, another example is to move external type definition information into a collection specifier or other distinguished file within the collection, thereby enabling classifiers and other application programs to use local type definition information without requiring the additional complexity of a set of external type definition files. Instead, a single linear file could be used to hold type definition information required for processing the collection.

[0406] As can be seen by one of ordinary skill in the art, many other ramifications are also possible within the teachings of this disclosure. However, all implementations share the same general goal of using type definition information to support the collection content classification process, thereby enabling application programs to process classified content files in automated ways that were not previously possible.

SCOPE

[0407] The full scope of the present invention should be determined by the accompanying claims and their legal equivalents, rather than from the examples given in the specification. 

I claim:
 1. A collection content classifier process for producing classification information for collections, to be performed on or with the aid of a programmable device, comprising the following steps: (a) determining collection membership information for a collection being processed, and (b) making said collection membership information available for use by software programs, thereby providing a solution to the collection content membership problem, and thereby enabling application programs to determine collection membership information in an automated, scalable way that was not previously available.
 2. The process of claim 1, wherein (a) said step of determining collection membership information uses collection multiple product specification information, thereby providing a solution to the collection multiple product problem, and thereby enabling application programs to determine collection membership information for multiple collection products in an automated, scalable way that was not previously available.
 3. The process of claim 1, wherein (a) said step of determining collection membership information uses collection special fileset specification information, thereby providing a solution to the collection special fileset problem, and thereby enabling application programs to determine collection membership information for collection special filesets in an automated, scalable way that was not previously available.
 4. The process of claim 1, wherein (a) said step of determining collection membership information uses one or more collection content control directives, thereby providing an enhanced solution for the collection content membership problem that accommodates external collection content and provides precise mechanisms for overriding collection specifier and type definition information, and thereby enabling application programs to determine collection membership information that involves external collection content, in an automated, scalable way that was not previously available.
 5. The process of claim 1, wherein (a) said step of determining collection membership information uses information selected from the group consisting of collection type definition information and collection product type definition information and collection content type definition information, thereby providing human administrators with a means for conveniently implementing and customizing administrative classification policies that are used by collection content classifiers.
 6. The process of claim 1, further comprising (a) assigning content types to collection content files listed in said collection membership information, and (b) making said assigned content types available for use by software programs, thereby providing a solution to the collection content type assignment problem, and thereby enabling application programs to determine the content types of collection content members in an automated, scalable way that was not previously available.
 7. The process of claim 6, further comprising (a) assigning symbolic processing actions to collection content file members listed in said collection membership information, and (b) assigning symbolic processing actions to collection product members listed in said collection membership information, and (c) assigning symbolic processing actions to collection members listed in said collection membership information, and (d) making all said assigned symbolic processing actions available for use by software programs, thereby providing a solution to the collection action assignment problem, and thereby enabling application programs to determine appropriate collection processing actions in an automated, scalable way that was not previously available.
 8. The process of claim 7, further comprising (a) calculating dependency information for collection content file members listed in said collection membership information, and (b) making said calculated dependency information available for use by software programs, thereby providing a solution to the collection content dependency problem, and thereby enabling application programs to determine processing dependencies among collection content members in an automated, scalable way that was not previously available.
 9. A programmable collection content classifier device for producing classification information for collections, whose actions are directed by software executing a process comprising the following steps: (a) determining collection membership information for a collection being processed, and (b) making said collection membership information available for use by software programs, thereby providing a solution to the collection content membership problem, and thereby enabling application programs to determine collection membership information in an automated, scalable way that was not previously available.
 10. The programmable device of claim 9, wherein (a) said step of determining collection membership information uses collection multiple product specification information, thereby providing a solution to the collection multiple product problem, and thereby enabling application programs to determine collection membership information for multiple collection products in an automated, scalable way that was not previously available.
 11. The programmable device of claim 9, wherein (a) said step of determining collection membership information uses collection special fileset specification information, thereby providing a solution to the collection special fileset problem, and thereby enabling application programs to determine collection membership information for collection special filesets in an automated, scalable way that was not previously available.
 12. The programmable device of claim 9, wherein (a) said step of determining collection membership information uses one or more collection content control directives, thereby providing an enhanced solution for the collection content membership problem that accommodates external collection content and provides precise mechanisms for overriding collection specifier and type definition information, and thereby enabling application programs to determine collection membership information that involves external collection content, in an automated, scalable way that was not previously available.
 13. The programmable device of claim 9, wherein (a) said step of determining collection membership information uses information selected from the group consisting of collection type definition information and collection product type definition information and collection content type definition information, thereby providing human administrators with a means for conveniently implementing and customizing administrative classification policies that are used by collection content classifiers.
 14. The programmable device of claim 9, further comprising the process steps of (a) assigning content types to collection content files listed in said collection membership information, and (b) making said assigned content types available for use by software programs, thereby providing a solution to the collection content type assignment problem, and thereby enabling application programs to determine the content types of collection content members in an automated, scalable way that was not previously available.
 15. The programmable device of claim 14, further comprising the process steps of (a) assigning symbolic processing actions to collection content file members listed in said collection membership information, and (b) assigning symbolic processing actions to collection product members listed in said collection membership information, and (c) assigning symbolic processing actions to collection members listed in said collection membership information, and (d) making all said assigned symbolic processing actions available for use by software programs, thereby providing a solution to the collection action assignment problem, and thereby enabling application programs to determine appropriate collection processing actions in an automated, scalable way that was not previously available.
 16. The programmable device of claim 15, further comprising (a) calculating dependency information for collection content file members listed in said collection membership information, and (b) making said calculated dependency information available for use by software programs, thereby providing a solution to the collection content dependency problem, and thereby enabling application programs to determine processing dependencies among collection content members in an automated, scalable way that was not previously available.
 17. A computer readable memory, encoded with data representing a collection content classifier computer program that can be used to direct a computer when used by the computer, comprising: (a) means for determining collection membership information for a collection being processed, and (b) means for making said collection membership information available for use by software programs, thereby providing a solution to the collection content membership problem, and thereby enabling application programs to determine collection membership information in an automated, scalable way that was not previously available.
 18. The computer readable memory of claim 17, wherein (a) said means for determining collection membership information uses collection multiple product specification information, thereby providing a solution to the collection multiple product problem, and thereby enabling application programs to determine collection membership information for multiple collection products in an automated, scalable way that was not previously available.
 19. The computer readable memory of claim 17, wherein (a) said means for determining collection membership information uses collection special fileset specification information, thereby providing a solution to the collection special fileset problem, and thereby enabling application programs to determine collection membership information for collection special filesets in an automated, scalable way that was not previously available.
 20. The computer readable memory of claim 17, wherein (a) said means for determining collection membership information uses one or more collection content control directives, thereby providing an enhanced solution for the collection content membership problem that accommodates external collection content and provides precise mechanisms for overriding collection specifier and type definition information, and thereby enabling application programs to determine collection membership information that involves external collection content, in an automated, scalable way that was not previously available.
 21. The computer readable memory of claim 17, wherein (a) said means for determining collection membership information uses information selected from the group consisting of collection type definition information and collection product type definition information and collection content type definition information, thereby providing human administrators with a means for conveniently implementing and customizing administrative classification policies that are used by collection content classifiers.
 22. The computer readable memory of claim 17, further comprising (a) means for assigning content types to collection content files listed in said collection membership information, and (b) means for making said assigned content types available for use by software programs, thereby providing a solution to the collection content type assignment problem, and thereby enabling application programs to determine the content types of collection content members in an automated, scalable way that was not previously available.
 23. The computer readable memory of claim 22, further comprising (a) means for assigning symbolic processing actions to collection content file members listed in said collection membership information, and (b) means for assigning symbolic processing actions to collection product members listed in said collection membership information, and (c) means for assigning symbolic processing actions to collection members listed in said collection membership information, and (d) means for making all said assigned symbolic processing actions available for use by software programs, thereby providing a solution to the collection action assignment problem, and thereby enabling application programs to determine appropriate collection processing actions in an automated, scalable way that was not previously available.
 24. The computer readable memory of claim 23, further comprising (a) means for calculating dependency information for collection content file members listed in said collection membership information, and (b) means for making said calculated dependency information available for use by software programs, thereby providing a solution to the collection content dependency problem, and thereby enabling application programs to determine processing dependencies among collection content members in an automated, scalable way that was not previously available. 